package com.gill.spring.controller;

import com.gill.spring.service.TestService;
import com.gill.spring.service.impl.TestServiceImpl;
import com.gill.spring.util.SpringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: my-utils-repo
 * @description:
 * @author: Gill
 * @create: 2021-03-31 16:53
 **/
@SuppressWarnings(value = "all")
@RestController
@RequestMapping("/test")
public class TestController {

    @Autowired
    private TestService testService;

    /**
     * 基本的方法暂不测试
     * 测试获取代理对象
     */
    @RequestMapping("/aop")
    public void test1(){
        testService.add();
    }

}
